package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/*
 *@AUTHOR:LIUCHAO;
 *@DATE: 2020/9/9 19:23
 */
public interface SetMealService {


    void add(Setmeal setmeal, Integer[] checkgroupIds);


    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    List<Integer> findCheckGroupIdsBySetMealId(Integer setMealId);

    void update(Setmeal setmeal, Integer[] checkgroupIds);

    void delete(Integer id);

    /*微信功能使用*/
    List<Setmeal> findAll();

    Setmeal findById(Integer setmealId);

    Setmeal findById2(Integer setmealId);

    List<String> findAllName();


    List<Map<String, Object>> findSetmealCountByOrder();


}
